package com.angel.kuaidi.net;



public abstract class IAgentRequest {
	
	public static final String HTTP_SCHEME 			= "http";
	public static final String HTTP_HOST 			= "client.3g.soufun.com/http";
//	public static final String HTTP_HOST 			= "60.247.49.220/http";
	public static final String HTTP_AGENT 			= "/agentservice.jsp";
	
	protected int mApn; // 使用接入点
	protected boolean mCookieEnable = true;

	// 联网
	public abstract AgentInputStream execute(RequestEntity requestEntity) throws Exception;

	// 关闭&回收
	public abstract void close();

	// 中止
	public abstract void abort();


	public int getApn() {
		return mApn;
	}

	public void setApn(int apn) {
		mApn = apn;
	}
//
//	/**
//	 * 得到response
//	 */
//
//	public MttResponse getResponse() {
//		return null;
//	}
}
